import pytest
from log.set_log import set_finame
from log.set_log import set_log
from log.set_log import set_qq
import allure
import os
if __name__ == '__main__':
    set_log()
    pytest.main(['./case/test_yuegao2.py','--alluredir=./baogao','--clean-alluredir'])
    os.system('allure generate ./baogao -o ./html --clena')

    set_qq(['./log/de.bug','./html/index.html'])
